<?php defined('IN_LK') or die('Access Denied');?>
<?php include self::admin_t('header');?>
<div class="table-list">
  <table width="100%" cellspacing="0">
    <thead>
      <tr>
        <th width="140">时间</th>
        <th width="50">错误号</th>
        <th width="50">错误级别</th>
        <th width="">错误信息</th>
        <th align="left" width="200">文件</th>
        <th align="left" width="60">行数</th>
      </tr>
    </thead>
    <tbody>
      <?php if(isset($log) && is_array($log) && $log){foreach($log as $l){?>
      <tr>
      	<td><?php echo isset($l[1]) ? $l[0] : '';?></td>
      	<td align="center"><?php echo isset($l[1]) ? $l[1] : '';?></td>
      	<td><?php echo isset($l[1]) ? $l[2] : '';?></td>
      	<td><?php echo isset($l[1]) ? strip_tags($l[3]) : '';?></td>
      	<td><?php echo isset($l[1]) ? $l[4] : '';?></td>
      	<td><?php echo isset($l[1]) ? $l[5] : '';?></td>
      </tr>
	  <?php }}else{?>
      <tr>
      	<td colspan="6" align="center">暂无数据</td>
      </tr>
      <?php }?>
    </tbody>
  </table>
</div>
<?php include self::admin_t('footer');?>
<script type="text/javascript">
</script>